package com.sunwayworld.basemodule.samplemanage.location.dao.impl;

import com.sunwayworld.basemodule.samplemanage.location.bean.LimsLocationBoardBean;
import com.sunwayworld.basemodule.samplemanage.location.dao.LimsLocationBoardDao;
import com.sunwayworld.basemodule.samplemanage.location.mapper.LimsLocationBoardMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import com.sunwayworld.framework.spring.annotation.GikamBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsLocationBoardDaoImpl extends MybatisDaoSupport<LimsLocationBoardBean, Long> implements LimsLocationBoardDao {

    @Autowired
    private LimsLocationBoardMapper limsLocationBoardMapper;

    @Override
    public LimsLocationBoardMapper getMapper() {
        return limsLocationBoardMapper;
    }

    @Override
    public List<Map<String, Object>> selectBoardList(MapperParameter temp) {
        return getMapper().selectBoardList(temp);
    }
}
